package org.opens.mybatisplus.dao.one2one;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.opens.mybatisplus.pojo.one2one.EkPet;

@Mapper
public interface EkPetDao {

    @Select(value = "select id, name from ek_pet where id = #{id}")
    public EkPet findById(@Param(value = "id") Integer id);

}
